<?php

$sanitize_all_escapes = true;
$fake_register_globals = false;
if (!isset($_REQUEST['medico']))
    session_start();

$pid = $_SESSION['pid'];
$ignoreAuth = true;
include_once("../../globals.php");
include_once("$srcdir/api.inc");

require ("C_FormVitals.class.php");
$c = new C_FormVitals();

if (!isset($_REQUEST['medico']))
    $_POST["source_entry"] = '1';

echo $c->default_action_process($_POST);
echo "<html><body><script language='JavaScript'>\n";
echo " parent.$.fancybox.close();\n";

echo "</script></body></html>\n";
//@formJump();
?>

